Learn R Programming

spatstat.explore (version 3.2-5)

[.ssf: Subset of spatially sampled function

Description

Extract a subset of the data for a spatially sampled function.

Usage

# S3 method for ssf
[(x, i, j, ..., drop)

Value

Another object of class "ssf".

Arguments

x

Object of class "ssf".

i

Subset index applying to the locations where the function is sampled.

j

Subset index applying to the columns (variables) measured at each location.

..., drop

Ignored.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au.

Details

This is the subset operator for the class "ssf".

See Also

ssf, with.ssf

Examples

Run this code
  f <- ssf(cells, data.frame(d=nndist(cells), i=1:42))
  f
  f[1:10,]
  f[ ,1]

Run the code above in your browser using DataLab